<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Ananas Library: Класс aCfg</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Создано системой Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Титульная&nbsp;страница</span></a></li>
      <li class="current"><a href="annotated.html"><span>Классы</span></a></li>
      <li><a href="files.html"><span>Файлы</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Классы</span></a></li>
      <li><a href="hierarchy.html"><span>Иерархия&nbsp;классов</span></a></li>
      <li><a href="functions.html"><span>Члены&nbsp;классов</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Класс aCfg</h1><!-- doxytag: class="aCfg" -->Класс реализует програмный интерфейс доступа к элементам метаданных системы. Наследует QObject.  
<a href="#_details">Подробнее...</a>
<p>
<code>#include &lt;<a class="el" href="acfg_8h-source.html">acfg.h</a>&gt;</code>
<p>

<p>
<a href="classaCfg-members.html">Полный список членов класса</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Открытые типы</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><b>fieldType</b> { <br>
&nbsp;&nbsp;<b>ftUnknown</b>, 
<b>ftChar</b>, 
<b>ftNumberic</b>, 
<b>ftDate</b>, 
<br>
&nbsp;&nbsp;<b>ftObject</b>
<br>
 }</td></tr>

<tr><td colspan="2"><br><h2>Открытые слоты</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="74a7dc3056ff5ccce390cb952c6511d3"></a><!-- doxytag: member="aCfg::Info" ref="74a7dc3056ff5ccce390cb952c6511d3" args="(QString partname)" -->
QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>Info</b> (QString partname)</td></tr>

<tr><td colspan="2"><br><h2>Сигналы</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="14e237c9a00364f96b50608cd3ace60a"></a><!-- doxytag: member="aCfg::message" ref="14e237c9a00364f96b50608cd3ace60a" args="(int messageType, const QString &amp;messageText)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>message</b> (int messageType, const QString &amp;messageText)</td></tr>

<tr><td colspan="2"><br><h2>Открытые члены</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#a9da10b42fb4f06b8abeecb8f43acafb">aCfg</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#7b89b28cce25cb692436c70096df1844">~aCfg</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#cbd93ace93b5876198c56a3cf0988517">read</a> (const QString &amp;fname)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#506ad369c7236692f86583b26bdaad58">write</a> (const QString &amp;fname)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#f18f47831a432758a268be64d3670ce5">write</a> (QDomDocument doc, const QString &amp;fname)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#fcdef9cfc48f5caf91990ef15ca63ebc">readrc</a> (const QString &amp;fname)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#03e0495dabd01e82cfbac46bb513db63">writerc</a> (const QString &amp;fname)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#09f1e987fc1a006e45a29b5164a94cab">compressed</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#80df26d8a38ffb4d7afef1cfdb1d15d6">setCompressed</a> (bool mode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#229adc37cdf1efe29bf35f22c640cb43">modified</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#1966a29a50842e2ed3debbf5eea00d62">setModified</a> (bool mode)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#aaa6e1758a765160569cd3737f319263">createNew</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#958703e429586e7f49a5609df5678a77">info</a> (const QString &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#c5ec6bada3469bdaf4f90b09299803b1">setInfo</a> (const QString &amp;name, const QString &amp;value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#214745af974d450a696187582035e04b">getId</a> (QString &amp;name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Возвращает идентификатор объекта метаданных по его полному имени.  <a href="#214745af974d450a696187582035e04b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#34c21dec784e10fdc1f09f2f5c6a0f5b">id</a> (aCfgItem context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#3072c96936da8aad6576e8d9d4e29549">objClass</a> (long id)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#e01dd17a8380c54fb8cb3b475ba1b9f7">objClass</a> (aCfgItem context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#846c3d982b4065f4058f7e2c0deb83c3">count</a> (aCfgItem context, const QString &amp;classname)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#700360e5623272ff54431b5015390548">countChild</a> (aCfgItem context, const QString &amp;classname=QString::null)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#501c095e29f80c8c854cdfe716c82e33">attr</a> (aCfgItem context, const QString &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#16b323078ce892a5063bab33413af17f">setAttr</a> (aCfgItem context, const QString &amp;name, const QString &amp;value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#d8fa170a1745598fb5468a57bd74853d">setAttr</a> (aCfgItem context, const QString &amp;name, int value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#dd593eb84c12a83935d909403544e971">text</a> (aCfgItem context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#23659b5924aeba7a5b2f8e8e757bd1e8">setText</a> (aCfgItem context, const QString &amp;value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QByteArray&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#3305c7566091652500c1792daa9a9a75">binary</a> (aCfgItem context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#5b99b199ee142a0ccd14f955051d6bb6">setBinary</a> (aCfgItem context, const QByteArray &amp;value, const QString &amp;format=QString::null)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#ecd3bd02903a1fb1836366ac23732b9a">binaryFormat</a> (aCfgItem context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#e92d34b844f59ffc588be4fabcc806ab">sText</a> (aCfgItem context, const QString &amp;subname)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#7da7d8605ca174c2e13392ac8061178d">setSText</a> (aCfgItem context, const QString &amp;subname, const QString &amp;value)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#570c476cd254d478fdc9ef2c8903cb7d">find</a> (aCfgItem context, const QString &amp;name, int n=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#6d482380fceb699ead068ac06c040b07">find</a> (long id)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Находит описание объекта в метаданных по его уникальному в рамках файла метаданных идентификатору.  <a href="#6d482380fceb699ead068ac06c040b07"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#0ee2bdea690bada456ae7079524bdcf6">find</a> (const QString &amp;name)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Находит объект в текущей (открытой) конфигурации по его полному имени.  <a href="#0ee2bdea690bada456ae7079524bdcf6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e17a3ae02edd860470c14caa2b46192c"></a><!-- doxytag: member="aCfg::findChild" ref="e17a3ae02edd860470c14caa2b46192c" args="(aCfgItem context, const QString &amp;classname, int n=0)" -->
aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><b>findChild</b> (aCfgItem context, const QString &amp;classname, int n=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="62bce80ee6d63f89dda7902521c8fc7b"></a><!-- doxytag: member="aCfg::findName" ref="62bce80ee6d63f89dda7902521c8fc7b" args="(aCfgItem context, const QString &amp;classname, const QString &amp;name=QString::null)" -->
aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><b>findName</b> (aCfgItem context, const QString &amp;classname, const QString &amp;name=QString::null)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#67d21a690253077bfadc749da53c4035">swap</a> (aCfgItem &amp;item1, aCfgItem &amp;item2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#689d4a6a0d9b3c24fd851fabc1dd5359">order</a> (aCfgItem item)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#682730902334e64c6feb57c99efc3cee">parent</a> (aCfgItem context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#ada767af87a783d6cd4be49ea0479279">firstChild</a> (aCfgItem context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#81caf06fb36e9742ac0d620d7613ae96">lastChild</a> (aCfgItem context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#8ee3dcfd3d45c6cdfb287e122b4b7819">nextSibling</a> (aCfgItem context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#2b89de2c6cd93ce7d1d2b0192422cce3">previousSibling</a> (aCfgItem context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#6f1a1772af42c3260e238787172cb9a3">insert</a> (aCfgItem context, const QString &amp;otype, const QString &amp;name=QString::null, long id=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#c3af41dd2dafb726855b6c8ee45d8a6a">saveOneObject</a> (aCfgItem context, const QString &amp;fileName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#c0179b62d805fff1935ab037b0c2794b">loadOneObject</a> (const QString &amp;fileName)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#4fd15986876fc115f1ddba09de40e99a">remove</a> (aCfgItem context)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#e56b637ef1639fac85bc9e916ab56ecf">importCfgItem</a> (aCfgItem context, aCfgItem obj)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#317e6efa5074cd54e8b9cd3d643f8281">setupNewId</a> (aCfgItem obj)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QStringList&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#4fa8c2160883f3c270c01f122246a8ce">types</a> (const QString &amp;filter=QString::null, aCfgItem *obj=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QStringList&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#31d8bc08ab1978d8325e618fb0ebcc87">ObjectTypes</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#f7179931dfa6d462421a2dc9b5db9a68">insertDocument</a> (const QString &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#2e39309381cd25c781a0dede75020745">insertDocumentTable</a> (aCfgItem owner, const QString &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#c6b7da2f8cba30910fd888b555fc6d76">insertCatalogue</a> (const QString &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#6f8e835e9e268ebddfbf0274d4aeceaf">insertIRegister</a> (const QString &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#6b6bae1a9580b4ec44ef34e1d32fcb97">insertARegister</a> (const QString &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#af4a6323c7bdbb482d22f0d9112bb48e">insertJournal</a> (const QString &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#108083d907195efd10cb4bb8ec821f83">insertReport</a> (const QString &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#99bd842e98ef152febe7c7f43336e601">insertField</a> (aCfgItem owner, const QString &amp;section, const QString &amp;name, const QString &amp;ftype)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#3ec7299ce2f2e5fc4e644ff5dcfb0a2c">insertForm</a> (aCfgItem owner, const QString &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#ec88e824269e913948523a38d60fbeb8">insertWebForm</a> (aCfgItem owner, const QString &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#cb7c7bbf7f63d3246c2e172e462c0ee3">getDefaultFormId</a> (aCfgItem owner, int actiontype, int mode=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QStringList&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#89caa7556f2a15b4132753bd777eaf3a">getJournalDocuments</a> (aCfgItem journal)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2a1b5f2d1859b61167a5c6adb2bd007c"></a><!-- doxytag: member="aCfg::findJournal" ref="2a1b5f2d1859b61167a5c6adb2bd007c" args="(int jtype, aCfgItem doc)" -->
aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><b>findJournal</b> (int jtype, aCfgItem doc)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QStringList&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#ac9958298d98f0ba606c3728a8cb9101">objTables</a> (aCfgItem obj)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QStringList&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#ff3271eeccc07500ebd067c7ab06b1ed">objTables</a> (int objid)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#f49f41881c00625edbf706b12db1c202">objTable</a> (aCfgItem obj, int id)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">aCfgItem&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaCfg.html#f1a1883d9bb0aa091184611903ebf1be">objTable</a> (int objid, int id)</td></tr>

<tr><td colspan="2"><br><h2>Открытые атрибуты</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d32b36431a13a2a478567c0414ed053d"></a><!-- doxytag: member="aCfg::rc" ref="d32b36431a13a2a478567c0414ed053d" args="" -->
<a class="el" href="classaCfgRc.html">aCfgRc</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>rc</b></td></tr>

</table>
<hr><a name="_details"></a><h2>Подробное описание</h2>
Класс реализует програмный интерфейс доступа к элементам метаданных системы. Наследует QObject. 
<p>
Взаимосвязанный набор метаданных, записанный в файл, называется конфигурацией (прикладной настройкой) системы. Методы класса позволяют загружать конфигурацию из файла, записывать её в файл. <hr><h2>Конструктор(ы)</h2>
<a class="anchor" name="a9da10b42fb4f06b8abeecb8f43acafb"></a><!-- doxytag: member="aCfg::aCfg" ref="a9da10b42fb4f06b8abeecb8f43acafb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfg::aCfg           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Конструктор объекта конфигурации АНАНАС. 
<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00386">createNew()</a>, <a class="el" href="acfg_8cpp-source.html#l00250">setCompressed()</a> и <a class="el" href="acfg_8cpp-source.html#l00273">setModified()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7b89b28cce25cb692436c70096df1844"></a><!-- doxytag: member="aCfg::~aCfg" ref="7b89b28cce25cb692436c70096df1844" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfg::~aCfg           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Деструктор объекта конфигурации АНАНАС. 
</div>
</div><p>
<hr><h2>Методы</h2>
<a class="anchor" name="cbd93ace93b5876198c56a3cf0988517"></a><!-- doxytag: member="aCfg::read" ref="cbd93ace93b5876198c56a3cf0988517" args="(const QString &amp;fname)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aCfg::read           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>fname</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reads configuration information (metadata) from file. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fname</em>&nbsp;</td><td>(in) - name of configuration file. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>error code. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00273">setModified()</a>.</p>

<p>Используется в <a class="el" href="acfg_8cpp-source.html#l00341">readrc()</a>.</p>

</div>
</div><p>
<a class="anchor" name="506ad369c7236692f86583b26bdaad58"></a><!-- doxytag: member="aCfg::write" ref="506ad369c7236692f86583b26bdaad58" args="(const QString &amp;fname)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aCfg::write           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>fname</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Вспомогательный метод. Сохраняет текущую конфирацию. 
<p>Используется в <a class="el" href="acfg_8cpp-source.html#l01041">saveOneObject()</a> и <a class="el" href="acfg_8cpp-source.html#l00365">writerc()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f18f47831a432758a268be64d3670ce5"></a><!-- doxytag: member="aCfg::write" ref="f18f47831a432758a268be64d3670ce5" args="(QDomDocument doc, const QString &amp;fname)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aCfg::write           </td>
          <td>(</td>
          <td class="paramtype">QDomDocument&nbsp;</td>
          <td class="paramname"> <em>doc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>fname</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Записывает информацию о бизнес схеме ( метаданные ) в файл.<p>
<dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>doc</em>&nbsp;</td><td>(in) - xml для сохранения </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fname</em>&nbsp;</td><td>(in) - имя файла для сохранения </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>код ошибки </dd></dl>

</div>
</div><p>
<a class="anchor" name="fcdef9cfc48f5caf91990ef15ca63ebc"></a><!-- doxytag: member="aCfg::readrc" ref="fcdef9cfc48f5caf91990ef15ca63ebc" args="(const QString &amp;fname)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aCfg::readrc           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>fname</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Reads resource file. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fname</em>&nbsp;</td><td>(in) - rc file name. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>error code. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00386">createNew()</a>, <a class="el" href="acfg_8cpp-source.html#l00168">read()</a>, <a class="el" href="acfgrc_8cpp-source.html#l00104">aCfgRc::read()</a> и <a class="el" href="acfgrc_8cpp-source.html#l00189">aCfgRc::value()</a>.</p>

<p>Используется в <a class="el" href="adatabase_8cpp-source.html#l00148">aDatabase::init()</a>.</p>

</div>
</div><p>
<a class="anchor" name="03e0495dabd01e82cfbac46bb513db63"></a><!-- doxytag: member="aCfg::writerc" ref="03e0495dabd01e82cfbac46bb513db63" args="(const QString &amp;fname)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aCfg::writerc           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>fname</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Writes resource file. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>(in)</em>&nbsp;</td><td>- rc file name to write to. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>int. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00273">setModified()</a>, <a class="el" href="acfgrc_8cpp-source.html#l00189">aCfgRc::value()</a>, <a class="el" href="acfg_8cpp-source.html#l00203">write()</a> и <a class="el" href="acfgrc_8cpp-source.html#l00141">aCfgRc::write()</a>.</p>

</div>
</div><p>
<a class="anchor" name="09f1e987fc1a006e45a29b5164a94cab"></a><!-- doxytag: member="aCfg::compressed" ref="09f1e987fc1a006e45a29b5164a94cab" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool aCfg::compressed           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns configuration file compression mode. <dl class="return" compact><dt><b>Возвращает:</b></dt><dd>boolean </dd></dl>

</div>
</div><p>
<a class="anchor" name="80df26d8a38ffb4d7afef1cfdb1d15d6"></a><!-- doxytag: member="aCfg::setCompressed" ref="80df26d8a38ffb4d7afef1cfdb1d15d6" args="(bool mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void aCfg::setCompressed           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>mode</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets compression mode of configuration file. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>(in) - compression mode. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>void </dd></dl>

<p>Используется в <a class="el" href="acfg_8cpp-source.html#l00139">aCfg()</a>.</p>

</div>
</div><p>
<a class="anchor" name="229adc37cdf1efe29bf35f22c640cb43"></a><!-- doxytag: member="aCfg::modified" ref="229adc37cdf1efe29bf35f22c640cb43" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool aCfg::modified           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns modification status. <dl class="return" compact><dt><b>Возвращает:</b></dt><dd>boolean </dd></dl>

</div>
</div><p>
<a class="anchor" name="1966a29a50842e2ed3debbf5eea00d62"></a><!-- doxytag: member="aCfg::setModified" ref="1966a29a50842e2ed3debbf5eea00d62" args="(bool mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void aCfg::setModified           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>mode</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set modification status. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>(in) - new value of modification status </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>void </dd></dl>

<p>Используется в <a class="el" href="acfg_8cpp-source.html#l00139">aCfg()</a>, <a class="el" href="acfg_8cpp-source.html#l00386">createNew()</a>, <a class="el" href="acfg_8cpp-source.html#l01016">insert()</a>, <a class="el" href="acfg_8cpp-source.html#l00168">read()</a>, <a class="el" href="acfg_8cpp-source.html#l01119">remove()</a>, <a class="el" href="acfg_8cpp-source.html#l00976">setAttr()</a>, <a class="el" href="acfg_8cpp-source.html#l00433">setInfo()</a>, <a class="el" href="acfg_8cpp-source.html#l00828">setText()</a>, <a class="el" href="acfg_8cpp-source.html#l00698">swap()</a> и <a class="el" href="acfg_8cpp-source.html#l00365">writerc()</a>.</p>

</div>
</div><p>
<a class="anchor" name="aaa6e1758a765160569cd3737f319263"></a><!-- doxytag: member="aCfg::createNew" ref="aaa6e1758a765160569cd3737f319263" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void aCfg::createNew           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates new empty configuration. <dl class="return" compact><dt><b>Возвращает:</b></dt><dd>void. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l01016">insert()</a>, <a class="el" href="acfg_8cpp-source.html#l00433">setInfo()</a> и <a class="el" href="acfg_8cpp-source.html#l00273">setModified()</a>.</p>

<p>Используется в <a class="el" href="acfg_8cpp-source.html#l00139">aCfg()</a> и <a class="el" href="acfg_8cpp-source.html#l00341">readrc()</a>.</p>

</div>
</div><p>
<a class="anchor" name="958703e429586e7f49a5609df5678a77"></a><!-- doxytag: member="aCfg::info" ref="958703e429586e7f49a5609df5678a77" args="(const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString aCfg::info           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns value of info section field of configuration. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - name of field to fetch value from. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>info field's value. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00814">text()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c5ec6bada3469bdaf4f90b09299803b1"></a><!-- doxytag: member="aCfg::setInfo" ref="c5ec6bada3469bdaf4f90b09299803b1" args="(const QString &amp;name, const QString &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void aCfg::setInfo           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets new value to specified field of info section of configuration. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - field's name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>(in) - field's value. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>void. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00273">setModified()</a> и <a class="el" href="acfg_8cpp-source.html#l00828">setText()</a>.</p>

<p>Используется в <a class="el" href="acfg_8cpp-source.html#l00386">createNew()</a>.</p>

</div>
</div><p>
<a class="anchor" name="214745af974d450a696187582035e04b"></a><!-- doxytag: member="aCfg::getId" ref="214745af974d450a696187582035e04b" args="(QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long aCfg::getId           </td>
          <td>(</td>
          <td class="paramtype">QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Возвращает идентификатор объекта метаданных по его полному имени. 
<p>
<dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>- Полное имя объекта, например, "Catalogue.Товары", "Document.ПКО". Первая часть полного имени - это базовый тип. Допустимы значения базовых типов: Catalogue, Document, DocJournal, Report, InfoRegister, AccumulationRegister Смотри также описание параметров метода <a class="el" href="classaCfg.html#570c476cd254d478fdc9ef2c8903cb7d">find()</a></td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>Уникальный идентификатор объекта метаданных </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a> и <a class="el" href="acfg_8cpp-source.html#l01220">id()</a>.</p>

</div>
</div><p>
<a class="anchor" name="34c21dec784e10fdc1f09f2f5c6a0f5b"></a><!-- doxytag: member="aCfg::id" ref="34c21dec784e10fdc1f09f2f5c6a0f5b" args="(aCfgItem context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long aCfg::id           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns configuration object ID. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - object which ID we looking for. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>object's ID. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00963">attr()</a>.</p>

<p>Используется в <a class="el" href="adocument_8cpp-source.html#l00938">aDocument::Copy()</a>, <a class="el" href="engine_8cpp-source.html#l00114">aObjectsFactory::create()</a>, <a class="el" href="wfield_8cpp-source.html#l00477">wField::fieldSelect()</a>, <a class="el" href="acfg_8cpp-source.html#l01528">getDefaultFormId()</a>, <a class="el" href="acfg_8cpp-source.html#l01208">getId()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00677">wDBTable::getTableId()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00717">wDBTable::getTableInd()</a>, <a class="el" href="aaregister_8cpp-source.html#l00111">aARegister::initObject()</a>, <a class="el" href="adocument_8cpp-source.html#l00313">aDocument::New()</a>, <a class="el" href="acfg_8cpp-source.html#l01697">objTables()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00644">aDocJournal::Select()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00761">aDocJournal::selectionFilter()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00389">wDBTable::setAvailableTables()</a>, <a class="el" href="asqltable_8cpp-source.html#l00152">aDataTable::setObject()</a>, <a class="el" href="aextsql_8cpp-source.html#l00439">aExtSQL::SqlFieldName()</a> и <a class="el" href="adatabase_8cpp-source.html#l00461">aDatabase::tableDbName()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3072c96936da8aad6576e8d9d4e29549"></a><!-- doxytag: member="aCfg::objClass" ref="3072c96936da8aad6576e8d9d4e29549" args="(long id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString aCfg::objClass           </td>
          <td>(</td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns class name of object. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>(in) - object id. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>object's class name. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a>.</p>

<p>Используется в <a class="el" href="acfg_8cpp-source.html#l00485">countChild()</a>, <a class="el" href="wdbtable_8cpp-source.html#l01133">aEditorFactory::createEditor()</a>, <a class="el" href="wfield_8cpp-source.html#l00477">wField::fieldSelect()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00755">wDBTable::getFields()</a>, <a class="el" href="wdbfield_8cpp-source.html#l00191">wDBField::getFields()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00818">wDBTable::getFieldType()</a>, <a class="el" href="acfg_8cpp-source.html#l01566">getJournalDocuments()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00677">wDBTable::getTableId()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00717">wDBTable::getTableInd()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00341">wDBTable::init()</a>, <a class="el" href="aform_8cpp-source.html#l00229">aForm::init()</a>, <a class="el" href="aobject_8cpp-source.html#l01128">aObject::Kind()</a>, <a class="el" href="acfg_8cpp-source.html#l01765">objTable()</a>, <a class="el" href="acfg_8cpp-source.html#l01697">objTables()</a>, <a class="el" href="acfg_8cpp-source.html#l00976">setAttr()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00389">wDBTable::setAvailableTables()</a>, <a class="el" href="wdbfield_8cpp-source.html#l00331">wDBField::setEditorType()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00599">wDBTable::setFields()</a>, <a class="el" href="asqltable_8cpp-source.html#l00152">aDataTable::setObject()</a>, <a class="el" href="aextsql_8cpp-source.html#l00439">aExtSQL::SqlFieldName()</a>, <a class="el" href="aextsql_8cpp-source.html#l00417">aExtSQL::SqlTableName()</a> и <a class="el" href="adatabase_8cpp-source.html#l00461">aDatabase::tableDbName()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e01dd17a8380c54fb8cb3b475ba1b9f7"></a><!-- doxytag: member="aCfg::objClass" ref="e01dd17a8380c54fb8cb3b475ba1b9f7" args="(aCfgItem context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString aCfg::objClass           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns class name of object. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - object. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>object's class name. </dd></dl>

</div>
</div><p>
<a class="anchor" name="846c3d982b4065f4058f7e2c0deb83c3"></a><!-- doxytag: member="aCfg::count" ref="846c3d982b4065f4058f7e2c0deb83c3" args="(aCfgItem context, const QString &amp;classname)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aCfg::count           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>classname</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Counts specified objects in metadata tree. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - parent of objects to count. May be a root of metadata tree. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>classname</em>&nbsp;</td><td>(in) - class of objects to count. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>number of objects. </dd></dl>

<p>Используется в <a class="el" href="adocument_8cpp-source.html#l00938">aDocument::Copy()</a>, <a class="el" href="adocument_8cpp-source.html#l00423">aDocument::Delete()</a>, <a class="el" href="airegister_8cpp-source.html#l00317">aIRegister::deleteDocument()</a>, <a class="el" href="airegister_8cpp-source.html#l00361">aIRegister::deleteTable()</a>, <a class="el" href="acfg_8cpp-source.html#l01528">getDefaultFormId()</a>, <a class="el" href="acfg_8cpp-source.html#l01566">getJournalDocuments()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00717">wDBTable::getTableInd()</a>, <a class="el" href="adocument_8cpp-source.html#l00155">aDocument::initObject()</a>, <a class="el" href="aaregister_8cpp-source.html#l00111">aARegister::initObject()</a>, <a class="el" href="acfg_8cpp-source.html#l01697">objTables()</a>, <a class="el" href="engine_8cpp-source.html#l00464">aEngine::on_MenuBar()</a>, <a class="el" href="adocument_8cpp-source.html#l01391">aDocument::select()</a>, <a class="el" href="asqltable_8cpp-source.html#l00152">aDataTable::setObject()</a>, <a class="el" href="adocument_8cpp-source.html#l01323">aDocument::SignOut()</a> и <a class="el" href="adocument_8cpp-source.html#l00596">aDocument::TableUpdate()</a>.</p>

</div>
</div><p>
<a class="anchor" name="700360e5623272ff54431b5015390548"></a><!-- doxytag: member="aCfg::countChild" ref="700360e5623272ff54431b5015390548" args="(aCfgItem context, const QString &amp;classname=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aCfg::countChild           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>classname</em> = <code>QString::null</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Counts specified child objects of object in metadata tree. Only child objects will be counted, not subchild objects. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - parent of objects to count. May be a root of metadata tree. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>classname</em>&nbsp;</td><td>(in) - class of objects to count. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>number of objects. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00767">firstChild()</a>, <a class="el" href="acfg_8cpp-source.html#l00791">nextSibling()</a> и <a class="el" href="acfg_8cpp-source.html#l00937">objClass()</a>.</p>

<p>Используется в <a class="el" href="wdbtable_8cpp-source.html#l00755">wDBTable::getFields()</a>, <a class="el" href="wdbfield_8cpp-source.html#l00191">wDBField::getFields()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00389">wDBTable::setAvailableTables()</a> и <a class="el" href="wdbtable_8cpp-source.html#l00599">wDBTable::setFields()</a>.</p>

</div>
</div><p>
<a class="anchor" name="501c095e29f80c8c854cdfe716c82e33"></a><!-- doxytag: member="aCfg::attr" ref="501c095e29f80c8c854cdfe716c82e33" args="(aCfgItem context, const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString aCfg::attr           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns object's attribute value. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - object. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - attribute name. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>attribute value. </dd></dl>

<p>Используется в <a class="el" href="acfg_8cpp-source.html#l00847">binary()</a>, <a class="el" href="acfg_8cpp-source.html#l00891">binaryFormat()</a>, <a class="el" href="adocument_8cpp-source.html#l00938">aDocument::Copy()</a>, <a class="el" href="adocument_8cpp-source.html#l00423">aDocument::Delete()</a>, <a class="el" href="airegister_8cpp-source.html#l00317">aIRegister::deleteDocument()</a>, <a class="el" href="airegister_8cpp-source.html#l00361">aIRegister::deleteTable()</a>, <a class="el" href="engine_8cpp-source.html#l00495">aEngine::execAction()</a>, <a class="el" href="wfield_8cpp-source.html#l00477">wField::fieldSelect()</a>, <a class="el" href="acfg_8cpp-source.html#l01528">getDefaultFormId()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00847">wDBTable::getFieldName()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00755">wDBTable::getFields()</a>, <a class="el" href="wdbfield_8cpp-source.html#l00191">wDBField::getFields()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00818">wDBTable::getFieldType()</a>, <a class="el" href="acfg_8cpp-source.html#l01566">getJournalDocuments()</a>, <a class="el" href="acfg_8cpp-source.html#l01220">id()</a>, <a class="el" href="aform_8cpp-source.html#l00229">aForm::init()</a>, <a class="el" href="adocument_8cpp-source.html#l00155">aDocument::initObject()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00107">aDocJournal::initObject()</a>, <a class="el" href="aaregister_8cpp-source.html#l00111">aARegister::initObject()</a>, <a class="el" href="adocument_8cpp-source.html#l00313">aDocument::New()</a>, <a class="el" href="acfg_8cpp-source.html#l01697">objTables()</a>, <a class="el" href="engine_8cpp-source.html#l00601">aEngine::OpenForm()</a>, <a class="el" href="acfg_8cpp-source.html#l01119">remove()</a>, <a class="el" href="adocument_8cpp-source.html#l01391">aDocument::select()</a>, <a class="el" href="adocument_8cpp-source.html#l00761">aDocument::Select()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00697">aDocJournal::Select()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00389">wDBTable::setAvailableTables()</a>, <a class="el" href="wdbfield_8cpp-source.html#l00331">wDBField::setEditorType()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00599">wDBTable::setFields()</a>, <a class="el" href="acfg_8cpp-source.html#l01166">setupNewId()</a> и <a class="el" href="adocument_8cpp-source.html#l00596">aDocument::TableUpdate()</a>.</p>

</div>
</div><p>
<a class="anchor" name="16b323078ce892a5063bab33413af17f"></a><!-- doxytag: member="aCfg::setAttr" ref="16b323078ce892a5063bab33413af17f" args="(aCfgItem context, const QString &amp;name, const QString &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void aCfg::setAttr           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets object's attribute value. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - object. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - attribute's name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>(in) - new value. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>void. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00937">objClass()</a> и <a class="el" href="acfg_8cpp-source.html#l00273">setModified()</a>.</p>

<p>Используется в <a class="el" href="acfg_8cpp-source.html#l01016">insert()</a>, <a class="el" href="acfg_8cpp-source.html#l01474">insertField()</a>, <a class="el" href="acfg_8cpp-source.html#l00871">setBinary()</a> и <a class="el" href="acfg_8cpp-source.html#l01166">setupNewId()</a>.</p>

</div>
</div><p>
<a class="anchor" name="d8fa170a1745598fb5468a57bd74853d"></a><!-- doxytag: member="aCfg::setAttr" ref="d8fa170a1745598fb5468a57bd74853d" args="(aCfgItem context, const QString &amp;name, int value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void aCfg::setAttr           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Changes value of object's attribute. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - object. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - attribute's name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>(in) - new attribute's vakue. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>nothing. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00273">setModified()</a>.</p>

</div>
</div><p>
<a class="anchor" name="dd593eb84c12a83935d909403544e971"></a><!-- doxytag: member="aCfg::text" ref="dd593eb84c12a83935d909403544e971" args="(aCfgItem context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString aCfg::text           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns text of object. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - object. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>string. </dd></dl>

<p>Используется в <a class="el" href="acfg_8cpp-source.html#l00847">binary()</a>, <a class="el" href="acfg_8cpp-source.html#l01566">getJournalDocuments()</a>, <a class="el" href="acfg_8cpp-source.html#l00421">info()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00107">aDocJournal::initObject()</a>, <a class="el" href="engine_8cpp-source.html#l00464">aEngine::on_MenuBar()</a> и <a class="el" href="acfg_8cpp-source.html#l00904">sText()</a>.</p>

</div>
</div><p>
<a class="anchor" name="23659b5924aeba7a5b2f8e8e757bd1e8"></a><!-- doxytag: member="aCfg::setText" ref="23659b5924aeba7a5b2f8e8e757bd1e8" args="(aCfgItem context, const QString &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void aCfg::setText           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets text for object. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - object. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>(in) - new value. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>void. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00273">setModified()</a>.</p>

<p>Используется в <a class="el" href="acfg_8cpp-source.html#l00871">setBinary()</a>, <a class="el" href="acfg_8cpp-source.html#l00433">setInfo()</a> и <a class="el" href="acfg_8cpp-source.html#l00920">setSText()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3305c7566091652500c1792daa9a9a75"></a><!-- doxytag: member="aCfg::binary" ref="3305c7566091652500c1792daa9a9a75" args="(aCfgItem context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray aCfg::binary           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns binary value of object. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - object to get value of. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>array of bytes. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00963">attr()</a> и <a class="el" href="acfg_8cpp-source.html#l00814">text()</a>.</p>

</div>
</div><p>
<a class="anchor" name="5b99b199ee142a0ccd14f955051d6bb6"></a><!-- doxytag: member="aCfg::setBinary" ref="5b99b199ee142a0ccd14f955051d6bb6" args="(aCfgItem context, const QByteArray &amp;value, const QString &amp;format=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void aCfg::setBinary           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QByteArray &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>format</em> = <code>QString::null</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets binary value of metadata tree node. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - metadata tree node. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>(in) - new binary value. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>format</em>&nbsp;</td><td>(in) - format of binary data. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>void. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00976">setAttr()</a> и <a class="el" href="acfg_8cpp-source.html#l00828">setText()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ecd3bd02903a1fb1836366ac23732b9a"></a><!-- doxytag: member="aCfg::binaryFormat" ref="ecd3bd02903a1fb1836366ac23732b9a" args="(aCfgItem context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString aCfg::binaryFormat           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns format of metadata tree node binary data. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - node of metadata tree. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>format of binary data. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00963">attr()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e92d34b844f59ffc588be4fabcc806ab"></a><!-- doxytag: member="aCfg::sText" ref="e92d34b844f59ffc588be4fabcc806ab" args="(aCfgItem context, const QString &amp;subname)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString aCfg::sText           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>subname</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns text value of child node of metadata tree. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - parent node. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>subname</em>&nbsp;</td><td>(in) - name of child node. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>text value. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00814">text()</a>.</p>

<p>Используется в <a class="el" href="engine_8cpp-source.html#l00495">aEngine::execAction()</a>, <a class="el" href="acfg_8cpp-source.html#l01528">getDefaultFormId()</a>, <a class="el" href="engine_8cpp-source.html#l00233">aEngine::init()</a> и <a class="el" href="aform_8cpp-source.html#l00229">aForm::init()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7da7d8605ca174c2e13392ac8061178d"></a><!-- doxytag: member="aCfg::setSText" ref="7da7d8605ca174c2e13392ac8061178d" args="(aCfgItem context, const QString &amp;subname, const QString &amp;value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void aCfg::setSText           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>subname</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets text value of child node. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - parent node. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>subname</em>&nbsp;</td><td>(in) - name of child node. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>(in) - new value of child node. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>void. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l01016">insert()</a> и <a class="el" href="acfg_8cpp-source.html#l00828">setText()</a>.</p>

</div>
</div><p>
<a class="anchor" name="570c476cd254d478fdc9ef2c8903cb7d"></a><!-- doxytag: member="aCfg::find" ref="570c476cd254d478fdc9ef2c8903cb7d" args="(aCfgItem context, const QString &amp;name, int n=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::find           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>n</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Находит элемент метаданных в заданном контексте (поддереве) метаданных по имени тэга и порядковому номеру. Порядковый номер имеет смысл, если в контексте может находиться более одного элемента с одним и тем же тэгом. Так, например, внутри документа может быть несколько полей. Поэтому, делая поиск элемента метаданных, описывающего поле, внутри контекста (поддерева), описывающего документ, необходимо задавать порядковый номер поля. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - контекст (поддерево) метаданных,для сужения пространства поиска. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - имя тэга, с помощью которого описывается элемент метаданных, который мы ищем. Возможные значения для этого параметра смотрите в файле <a class="el" href="acfg_8h-source.html">acfg.h</a> под заголовком Metadata tags. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>n</em>&nbsp;</td><td>(in) - порядковый номер объекта, на случай, если таких объектов несколько. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>ссылку на найденный элемент метаданных или NULL, если элемент не найден. </dd></dl>

<p>Используется в <a class="el" href="aobject_8cpp-source.html#l00089">aObject::aObject()</a>, <a class="el" href="awidget_8cpp-source.html#l00080">aWidget::aWidget()</a>, <a class="el" href="adocument_8cpp-source.html#l00938">aDocument::Copy()</a>, <a class="el" href="engine_8cpp-source.html#l00114">aObjectsFactory::create()</a>, <a class="el" href="wdbtable_8cpp-source.html#l01133">aEditorFactory::createEditor()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00602">aDocJournal::CurrentDocument()</a>, <a class="el" href="adocument_8cpp-source.html#l00423">aDocument::Delete()</a>, <a class="el" href="airegister_8cpp-source.html#l00317">aIRegister::deleteDocument()</a>, <a class="el" href="airegister_8cpp-source.html#l00361">aIRegister::deleteTable()</a>, <a class="el" href="engine_8cpp-source.html#l00495">aEngine::execAction()</a>, <a class="el" href="wfield_8cpp-source.html#l00477">wField::fieldSelect()</a>, <a class="el" href="acfg_8cpp-source.html#l00586">find()</a>, <a class="el" href="acfg_8cpp-source.html#l01528">getDefaultFormId()</a>, <a class="el" href="airegister_8cpp-source.html#l00199">aIRegister::GetDocument()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00847">wDBTable::getFieldName()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00755">wDBTable::getFields()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00818">wDBTable::getFieldType()</a>, <a class="el" href="acfg_8cpp-source.html#l01208">getId()</a>, <a class="el" href="acfg_8cpp-source.html#l01566">getJournalDocuments()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00341">wDBTable::init()</a>, <a class="el" href="wdbfield_8cpp-source.html#l00165">wDBField::init()</a>, <a class="el" href="engine_8cpp-source.html#l00233">aEngine::init()</a>, <a class="el" href="awidget_8cpp-source.html#l00187">aWidget::initObject()</a>, <a class="el" href="adocument_8cpp-source.html#l00155">aDocument::initObject()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00107">aDocJournal::initObject()</a>, <a class="el" href="acatalogue_8cpp-source.html#l01130">aCatGroup::initObject()</a>, <a class="el" href="acatalogue_8cpp-source.html#l00073">aCatalogue::initObject()</a>, <a class="el" href="aaregister_8cpp-source.html#l00111">aARegister::initObject()</a>, <a class="el" href="acfg_8cpp-source.html#l01411">insertARegister()</a>, <a class="el" href="acfg_8cpp-source.html#l01372">insertCatalogue()</a>, <a class="el" href="acfg_8cpp-source.html#l01333">insertDocument()</a>, <a class="el" href="acfg_8cpp-source.html#l01355">insertDocumentTable()</a>, <a class="el" href="acfg_8cpp-source.html#l01474">insertField()</a>, <a class="el" href="acfg_8cpp-source.html#l01493">insertForm()</a>, <a class="el" href="acfg_8cpp-source.html#l01392">insertIRegister()</a>, <a class="el" href="acfg_8cpp-source.html#l01430">insertJournal()</a>, <a class="el" href="acfg_8cpp-source.html#l01449">insertReport()</a>, <a class="el" href="acfg_8cpp-source.html#l01510">insertWebForm()</a>, <a class="el" href="acfg_8cpp-source.html#l00937">objClass()</a>, <a class="el" href="acfg_8cpp-source.html#l01312">ObjectTypes()</a>, <a class="el" href="acfg_8cpp-source.html#l01765">objTable()</a>, <a class="el" href="acfg_8cpp-source.html#l01697">objTables()</a>, <a class="el" href="engine_8cpp-source.html#l00464">aEngine::on_MenuBar()</a>, <a class="el" href="engine_8cpp-source.html#l00661">aEngine::openForm()</a>, <a class="el" href="engine_8cpp-source.html#l00601">aEngine::OpenForm()</a>, <a class="el" href="aobject_8cpp-source.html#l00693">aObject::select()</a>, <a class="el" href="adocument_8cpp-source.html#l01391">aDocument::select()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00644">aDocJournal::Select()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00761">aDocJournal::selectionFilter()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00389">wDBTable::setAvailableTables()</a>, <a class="el" href="wdbfield_8cpp-source.html#l00331">wDBField::setEditorType()</a>, <a class="el" href="wdbtable_8cpp-source.html#l00599">wDBTable::setFields()</a>, <a class="el" href="airegister_8cpp-source.html#l00143">aIRegister::SetFilter()</a>, <a class="el" href="asqltable_8cpp-source.html#l00152">aDataTable::setObject()</a>, <a class="el" href="adocument_8cpp-source.html#l01323">aDocument::SignOut()</a>, <a class="el" href="aextsql_8cpp-source.html#l00439">aExtSQL::SqlFieldName()</a>, <a class="el" href="aextsql_8cpp-source.html#l00417">aExtSQL::SqlTableName()</a>, <a class="el" href="adocument_8cpp-source.html#l00596">aDocument::TableUpdate()</a> и <a class="el" href="acfg_8cpp-source.html#l01268">types()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6d482380fceb699ead068ac06c040b07"></a><!-- doxytag: member="aCfg::find" ref="6d482380fceb699ead068ac06c040b07" args="(long id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::find           </td>
          <td>(</td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>id</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Находит описание объекта в метаданных по его уникальному в рамках файла метаданных идентификатору. 
<p>
<dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>- идетнификатор объекта в метаданных </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>ссылку на элемент метаданных </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8h-source.html#l00331">aCfgItemContaner::item</a>.</p>

</div>
</div><p>
<a class="anchor" name="0ee2bdea690bada456ae7079524bdcf6"></a><!-- doxytag: member="aCfg::find" ref="0ee2bdea690bada456ae7079524bdcf6" args="(const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::find           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Находит объект в текущей (открытой) конфигурации по его полному имени. 
<p>
<br>
 Полное имя имеет вид "&lt;OType&gt;.&lt;OName&gt;[.&lt;extName&gt;]" <br>
 OType может принимать только одно из следующих значений:<ul>
<li>Document - для объектов типа Документ</li><li>Catalogue - для объектов типа Каталог (примером каталога является Справочник товаров)</li><li>DocJournal - для объектов типа журнал документов</li><li>InfoRegister - для объектов типа Информационный Регистр</li><li>AccumulationRegister - для объектов типа Накопительный регистр. Накопительный регистр отличается от информационного тем, что по его записям выполняется автоматический расчет остатков.</li><li>Form - для объектов типа Экранная форма.</li></ul>
<p>
OName задает имя объекта, которое было присвоено объекту во время редактирования конфигурации в программе Анананс-Дизайнер. Для поиска документа "Приходная накладная" нужно вызвать find("Document.Приходная накладная"); Для поиска формы с именем "Основная форма" в этом документе надо вызвать find("Document.Приходная накладная.Form.Основная форма"); <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - полное имя объекта. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>ссылка на найденный объект в случае успеха или NULL в случае, если объект не найден. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a> и <a class="el" href="alog_8cpp-source.html#l00058">aLog::print()</a>.</p>

</div>
</div><p>
<a class="anchor" name="67d21a690253077bfadc749da53c4035"></a><!-- doxytag: member="aCfg::swap" ref="67d21a690253077bfadc749da53c4035" args="(aCfgItem &amp;item1, aCfgItem &amp;item2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool aCfg::swap           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem &amp;&nbsp;</td>
          <td class="paramname"> <em>item1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">aCfgItem &amp;&nbsp;</td>
          <td class="paramname"> <em>item2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Swaps two items in metadata tree. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>item1</em>&nbsp;</td><td>(in) - first item to swap. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>item2</em>&nbsp;</td><td>(in) - second item to swap. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>true or false. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00752">parent()</a>, <a class="el" href="alog_8cpp-source.html#l00058">aLog::print()</a> и <a class="el" href="acfg_8cpp-source.html#l00273">setModified()</a>.</p>

</div>
</div><p>
<a class="anchor" name="689d4a6a0d9b3c24fd851fabc1dd5359"></a><!-- doxytag: member="aCfg::order" ref="689d4a6a0d9b3c24fd851fabc1dd5359" args="(aCfgItem item)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aCfg::order           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>item</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns onject's order number among siblings. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>item</em>&nbsp;</td><td>(in) - object. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>object's order number. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00802">previousSibling()</a>.</p>

</div>
</div><p>
<a class="anchor" name="682730902334e64c6feb57c99efc3cee"></a><!-- doxytag: member="aCfg::parent" ref="682730902334e64c6feb57c99efc3cee" args="(aCfgItem context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::parent           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns parent object. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - object. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>paren object. </dd></dl>

<p>Используется в <a class="el" href="aform_8cpp-source.html#l00229">aForm::init()</a>, <a class="el" href="adocjournal_8cpp-source.html#l00107">aDocJournal::initObject()</a>, <a class="el" href="engine_8cpp-source.html#l00601">aEngine::OpenForm()</a>, <a class="el" href="asqltable_8cpp-source.html#l00152">aDataTable::setObject()</a>, <a class="el" href="acfg_8cpp-source.html#l00698">swap()</a> и <a class="el" href="adatabase_8cpp-source.html#l00461">aDatabase::tableDbName()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ada767af87a783d6cd4be49ea0479279"></a><!-- doxytag: member="aCfg::firstChild" ref="ada767af87a783d6cd4be49ea0479279" args="(aCfgItem context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::firstChild           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the first child item of the context. If there is no child, a null context is returned. Changing the returned item will also change the item in the metadata tree. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - node in metadata tree. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>aCfgItem - node in metafata tree if found, NULL if not found. </dd></dl>

<p>Используется в <a class="el" href="acfg_8cpp-source.html#l00485">countChild()</a>, <a class="el" href="acfg_8cpp-source.html#l01119">remove()</a> и <a class="el" href="acfg_8cpp-source.html#l01166">setupNewId()</a>.</p>

</div>
</div><p>
<a class="anchor" name="81caf06fb36e9742ac0d620d7613ae96"></a><!-- doxytag: member="aCfg::lastChild" ref="81caf06fb36e9742ac0d620d7613ae96" args="(aCfgItem context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::lastChild           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the last child item of the context. If there is no child, a null context is returned. Changing the returned item will also change the item in the metadata tree. 
</div>
</div><p>
<a class="anchor" name="8ee3dcfd3d45c6cdfb287e122b4b7819"></a><!-- doxytag: member="aCfg::nextSibling" ref="8ee3dcfd3d45c6cdfb287e122b4b7819" args="(aCfgItem context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::nextSibling           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the next sibling in the netadata tree. Changing the returned item will also change the item in the metadata tree. 
<p>Используется в <a class="el" href="acfg_8cpp-source.html#l00485">countChild()</a> и <a class="el" href="acfg_8cpp-source.html#l01166">setupNewId()</a>.</p>

</div>
</div><p>
<a class="anchor" name="2b89de2c6cd93ce7d1d2b0192422cce3"></a><!-- doxytag: member="aCfg::previousSibling" ref="2b89de2c6cd93ce7d1d2b0192422cce3" args="(aCfgItem context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::previousSibling           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the previous sibling in the netadata tree. Changing the returned item will also change the item in the metadata tree. 
<p>Используется в <a class="el" href="acfg_8cpp-source.html#l00733">order()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6f1a1772af42c3260e238787172cb9a3"></a><!-- doxytag: member="aCfg::insert" ref="6f1a1772af42c3260e238787172cb9a3" args="(aCfgItem context, const QString &amp;otype, const QString &amp;name=QString::null, long id=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::insert           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>otype</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">long&nbsp;</td>
          <td class="paramname"> <em>id</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Inserts a new object into metadata tree. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - metadata object context. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>otype</em>&nbsp;</td><td>(in) - metadata object type. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - metadata object name. If name = QString::null, name attribute will not be setted. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>(in) - metadata object id. If id = 0, setting next avalable id for the metadata tree. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>newly created metadata object. To check if created object is valid use "if (CreatedObject.isNull()) ..." construction. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00976">setAttr()</a> и <a class="el" href="acfg_8cpp-source.html#l00273">setModified()</a>.</p>

<p>Используется в <a class="el" href="acfg_8cpp-source.html#l00386">createNew()</a>, <a class="el" href="acfg_8cpp-source.html#l01411">insertARegister()</a>, <a class="el" href="acfg_8cpp-source.html#l01372">insertCatalogue()</a>, <a class="el" href="acfg_8cpp-source.html#l01333">insertDocument()</a>, <a class="el" href="acfg_8cpp-source.html#l01355">insertDocumentTable()</a>, <a class="el" href="acfg_8cpp-source.html#l01474">insertField()</a>, <a class="el" href="acfg_8cpp-source.html#l01493">insertForm()</a>, <a class="el" href="acfg_8cpp-source.html#l01392">insertIRegister()</a>, <a class="el" href="acfg_8cpp-source.html#l01430">insertJournal()</a>, <a class="el" href="acfg_8cpp-source.html#l01449">insertReport()</a>, <a class="el" href="acfg_8cpp-source.html#l01510">insertWebForm()</a> и <a class="el" href="acfg_8cpp-source.html#l00920">setSText()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c3af41dd2dafb726855b6c8ee45d8a6a"></a><!-- doxytag: member="aCfg::saveOneObject" ref="c3af41dd2dafb726855b6c8ee45d8a6a" args="(aCfgItem context, const QString &amp;fileName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int aCfg::saveOneObject           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>fileName</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Сохраняет объект бизнес схемы в файл.<p>
<dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>- объект для сохранения </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fileName</em>&nbsp;</td><td>- имя файла </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>- код ошибки </dd></dl>

<p>Перекрестные ссылки <a class="el" href="alog_8cpp-source.html#l00058">aLog::print()</a> и <a class="el" href="acfg_8cpp-source.html#l00203">write()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c0179b62d805fff1935ab037b0c2794b"></a><!-- doxytag: member="aCfg::loadOneObject" ref="c0179b62d805fff1935ab037b0c2794b" args="(const QString &amp;fileName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::loadOneObject           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>fileName</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Загружает объект бизнес схемы из файла.<p>
<dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fileName</em>&nbsp;</td><td>- имя файла </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>- объект, хранящийся в xml файле </dd></dl>

<p>Перекрестные ссылки <a class="el" href="alog_8cpp-source.html#l00058">aLog::print()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4fd15986876fc115f1ddba09de40e99a"></a><!-- doxytag: member="aCfg::remove" ref="4fd15986876fc115f1ddba09de40e99a" args="(aCfgItem context)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void aCfg::remove           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Removes metadata object from metadata tree. All children objects also removed. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>(in) - metadata object. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>nothing. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00963">attr()</a>, <a class="el" href="acfg_8cpp-source.html#l00767">firstChild()</a> и <a class="el" href="acfg_8cpp-source.html#l00273">setModified()</a>.</p>

</div>
</div><p>
<a class="anchor" name="e56b637ef1639fac85bc9e916ab56ecf"></a><!-- doxytag: member="aCfg::importCfgItem" ref="e56b637ef1639fac85bc9e916ab56ecf" args="(aCfgItem context, aCfgItem obj)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::importCfgItem           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>objFromAnotherCfg</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Импортирует объект конфигурации из другой конфигурации в текущую. Устанавливает новые Id для всех потомков объекта.<p>
<dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>context</em>&nbsp;</td><td>- родитель для импортируемого объекта </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>objFromAnotherCfg</em>&nbsp;</td><td>- импортируемый объект </td></tr>
  </table>
</dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l01166">setupNewId()</a>.</p>

</div>
</div><p>
<a class="anchor" name="317e6efa5074cd54e8b9cd3d643f8281"></a><!-- doxytag: member="aCfg::setupNewId" ref="317e6efa5074cd54e8b9cd3d643f8281" args="(aCfgItem obj)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void aCfg::setupNewId           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>obj</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Устанавивает новый id для всех потомков объекта <em>obj</em> 
<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00963">attr()</a>, <a class="el" href="acfg_8cpp-source.html#l00767">firstChild()</a>, <a class="el" href="acfg_8cpp-source.html#l00791">nextSibling()</a>, <a class="el" href="alog_8cpp-source.html#l00058">aLog::print()</a> и <a class="el" href="acfg_8cpp-source.html#l00976">setAttr()</a>.</p>

<p>Используется в <a class="el" href="acfg_8cpp-source.html#l01147">importCfgItem()</a>.</p>

</div>
</div><p>
<a class="anchor" name="4fa8c2160883f3c270c01f122246a8ce"></a><!-- doxytag: member="aCfg::types" ref="4fa8c2160883f3c270c01f122246a8ce" args="(const QString &amp;filter=QString::null, aCfgItem *obj=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QStringList aCfg::types           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>filter</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">aCfgItem *&nbsp;</td>
          <td class="paramname"> <em>obj</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns list of the configuration types. Every string in string list stored in format, consist of type's format string and type's human name fields, separated by tabulate char. For example: N d d C d O 221\tDocument.Invoice <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>filter</em>&nbsp;</td><td>(in) - used to limit returned types. If this parameter is empty all types will be returned. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>list of types. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a>.</p>

</div>
</div><p>
<a class="anchor" name="31d8bc08ab1978d8325e618fb0ebcc87"></a><!-- doxytag: member="aCfg::ObjectTypes" ref="31d8bc08ab1978d8325e618fb0ebcc87" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QStringList aCfg::ObjectTypes           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns object types names. <dl class="return" compact><dt><b>Возвращает:</b></dt><dd>list of types names. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f7179931dfa6d462421a2dc9b5db9a68"></a><!-- doxytag: member="aCfg::insertDocument" ref="f7179931dfa6d462421a2dc9b5db9a68" args="(const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::insertDocument           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Inserts new document in metadata tree. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - document's name. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>newly created document. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a> и <a class="el" href="acfg_8cpp-source.html#l01016">insert()</a>.</p>

</div>
</div><p>
<a class="anchor" name="2e39309381cd25c781a0dede75020745"></a><!-- doxytag: member="aCfg::insertDocumentTable" ref="2e39309381cd25c781a0dede75020745" args="(aCfgItem owner, const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::insertDocumentTable           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>owner</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Inserts document's table in metadata tree. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>owner</em>&nbsp;</td><td>(in) - document to insert table. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - table's name. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>newly created table. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a> и <a class="el" href="acfg_8cpp-source.html#l01016">insert()</a>.</p>

</div>
</div><p>
<a class="anchor" name="c6b7da2f8cba30910fd888b555fc6d76"></a><!-- doxytag: member="aCfg::insertCatalogue" ref="c6b7da2f8cba30910fd888b555fc6d76" args="(const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::insertCatalogue           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Inserts new catalogue in metadata tree. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - name of catalogue. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>newly created catalogue. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a> и <a class="el" href="acfg_8cpp-source.html#l01016">insert()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6f8e835e9e268ebddfbf0274d4aeceaf"></a><!-- doxytag: member="aCfg::insertIRegister" ref="6f8e835e9e268ebddfbf0274d4aeceaf" args="(const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::insertIRegister           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Inserts new information register in metadata tree. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - name of catalogue. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>newly created catalogue. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a> и <a class="el" href="acfg_8cpp-source.html#l01016">insert()</a>.</p>

</div>
</div><p>
<a class="anchor" name="6b6bae1a9580b4ec44ef34e1d32fcb97"></a><!-- doxytag: member="aCfg::insertARegister" ref="6b6bae1a9580b4ec44ef34e1d32fcb97" args="(const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::insertARegister           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Inserts new accumalation register in metadata tree. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - name of catalogue. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>newly created catalogue. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a> и <a class="el" href="acfg_8cpp-source.html#l01016">insert()</a>.</p>

</div>
</div><p>
<a class="anchor" name="af4a6323c7bdbb482d22f0d9112bb48e"></a><!-- doxytag: member="aCfg::insertJournal" ref="af4a6323c7bdbb482d22f0d9112bb48e" args="(const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::insertJournal           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Inserts new journal in metadata tree. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - name of catalogue. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>newly created catalogue. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a> и <a class="el" href="acfg_8cpp-source.html#l01016">insert()</a>.</p>

</div>
</div><p>
<a class="anchor" name="108083d907195efd10cb4bb8ec821f83"></a><!-- doxytag: member="aCfg::insertReport" ref="108083d907195efd10cb4bb8ec821f83" args="(const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::insertReport           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Inserts new report in metadata tree. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - name of catalogue. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>newly created catalogue. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a> и <a class="el" href="acfg_8cpp-source.html#l01016">insert()</a>.</p>

</div>
</div><p>
<a class="anchor" name="99bd842e98ef152febe7c7f43336e601"></a><!-- doxytag: member="aCfg::insertField" ref="99bd842e98ef152febe7c7f43336e601" args="(aCfgItem owner, const QString &amp;section, const QString &amp;name, const QString &amp;ftype)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::insertField           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>owner</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>section</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>ftype</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a new field's definition in owner's section. If section is empty, field will be created in owner's context. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>owner</em>&nbsp;</td><td>(in) - owner of a new field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>section</em>&nbsp;</td><td>(in) - section of owner. For example Document may consists of one or more table sections. All of them contains set of fields. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - field's name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ftype</em>&nbsp;</td><td>(in) - field's type. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>newly created field. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a>, <a class="el" href="acfg_8cpp-source.html#l01016">insert()</a> и <a class="el" href="acfg_8cpp-source.html#l00976">setAttr()</a>.</p>

</div>
</div><p>
<a class="anchor" name="3ec7299ce2f2e5fc4e644ff5dcfb0a2c"></a><!-- doxytag: member="aCfg::insertForm" ref="3ec7299ce2f2e5fc4e644ff5dcfb0a2c" args="(aCfgItem owner, const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::insertForm           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>owner</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates new screen form for object like Document and writes it to metadata tree. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>owner</em>&nbsp;</td><td>(in) - owner of new form. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - name of new form. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>node of metadata tree which represents a newly created form. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a> и <a class="el" href="acfg_8cpp-source.html#l01016">insert()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ec88e824269e913948523a38d60fbeb8"></a><!-- doxytag: member="aCfg::insertWebForm" ref="ec88e824269e913948523a38d60fbeb8" args="(aCfgItem owner, const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::insertWebForm           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>owner</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates new Web form for object like Document and writes it to metadata tree. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>owner</em>&nbsp;</td><td>(in) - owner of new form. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>(in) - name of new form. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>node of metadata tree which represents a newly created form. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a> и <a class="el" href="acfg_8cpp-source.html#l01016">insert()</a>.</p>

</div>
</div><p>
<a class="anchor" name="cb7c7bbf7f63d3246c2e172e462c0ee3"></a><!-- doxytag: member="aCfg::getDefaultFormId" ref="cb7c7bbf7f63d3246c2e172e462c0ee3" args="(aCfgItem owner, int actiontype, int mode=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">long aCfg::getDefaultFormId           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>owner</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>actiontype</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>mode</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns ID of default screen form of object like Document. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>owner</em>&nbsp;</td><td>(in) - form's owner. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>actiontype</em>&nbsp;</td><td>(in) - action to which form is a default form. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>(in) - action to which form is a mode. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>form's ID. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00963">attr()</a>, <a class="el" href="acfg_8cpp-source.html#l00471">count()</a>, <a class="el" href="acfg_8cpp-source.html#l00520">find()</a>, <a class="el" href="acfg_8cpp-source.html#l01220">id()</a> и <a class="el" href="acfg_8cpp-source.html#l00904">sText()</a>.</p>

<p>Используется в <a class="el" href="engine_8cpp-source.html#l00495">aEngine::execAction()</a>, <a class="el" href="wfield_8cpp-source.html#l00477">wField::fieldSelect()</a> и <a class="el" href="engine_8cpp-source.html#l00661">aEngine::openForm()</a>.</p>

</div>
</div><p>
<a class="anchor" name="89caa7556f2a15b4132753bd777eaf3a"></a><!-- doxytag: member="aCfg::getJournalDocuments" ref="89caa7556f2a15b4132753bd777eaf3a" args="(aCfgItem journal)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QStringList aCfg::getJournalDocuments           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>journal</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets journal's documents list. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>journal</em>&nbsp;</td><td>(in) - journal to get list from. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>list of documents IDs. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00963">attr()</a>, <a class="el" href="acfg_8cpp-source.html#l00471">count()</a>, <a class="el" href="acfg_8cpp-source.html#l00520">find()</a>, <a class="el" href="acfg_8cpp-source.html#l00937">objClass()</a> и <a class="el" href="acfg_8cpp-source.html#l00814">text()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ac9958298d98f0ba606c3728a8cb9101"></a><!-- doxytag: member="aCfg::objTables" ref="ac9958298d98f0ba606c3728a8cb9101" args="(aCfgItem obj)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QStringList aCfg::objTables           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>obj</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return list of object database tables. Every string in string list stored in format, consist of table id, table's human name fields, separated by tabulate char. This function used by Database tables plugins. For example: 0 123 id = 0 for document header, catalogue element; id = 1 for catalogue group; id = metadata object id for document table. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>obj</em>&nbsp;</td><td>(in) - metadata object. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>list of tables. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00963">attr()</a>, <a class="el" href="acfg_8cpp-source.html#l00471">count()</a>, <a class="el" href="acfg_8cpp-source.html#l00520">find()</a>, <a class="el" href="acfg_8cpp-source.html#l01220">id()</a> и <a class="el" href="acfg_8cpp-source.html#l00937">objClass()</a>.</p>

<p>Используется в <a class="el" href="acfg_8cpp-source.html#l01748">objTables()</a>.</p>

</div>
</div><p>
<a class="anchor" name="ff3271eeccc07500ebd067c7ab06b1ed"></a><!-- doxytag: member="aCfg::objTables" ref="ff3271eeccc07500ebd067c7ab06b1ed" args="(int objid)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QStringList aCfg::objTables           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>objid</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return list of object database tables. Every string in string list stored in format, consist of table id, table's human name fields, separated by tabulate char. This function used by Database tables plugins. For example: 0 123 id = 0 for document header, catalogue element; id = 1 for catalogue group; id = metadata object id for document table. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>objid</em>&nbsp;</td><td>(in) - metadata object id. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>list of tables. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a> и <a class="el" href="acfg_8cpp-source.html#l01697">objTables()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f49f41881c00625edbf706b12db1c202"></a><!-- doxytag: member="aCfg::objTable" ref="f49f41881c00625edbf706b12db1c202" args="(aCfgItem obj, int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::objTable           </td>
          <td>(</td>
          <td class="paramtype">aCfgItem&nbsp;</td>
          <td class="paramname"> <em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>id</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return context of the object table by id. This function used by Database tables plugins. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>obj</em>&nbsp;</td><td>(in) - metadata object. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>(in) - metadata object table id. id = 0 for document header, catalogue element; id = 1 for catalogue group; id = metadata object id for document table. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>table context. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a> и <a class="el" href="acfg_8cpp-source.html#l00937">objClass()</a>.</p>

<p>Используется в <a class="el" href="wdbtable_8cpp-source.html#l00929">wDBTable::init()</a> и <a class="el" href="acfg_8cpp-source.html#l01798">objTable()</a>.</p>

</div>
</div><p>
<a class="anchor" name="f1a1883d9bb0aa091184611903ebf1be"></a><!-- doxytag: member="aCfg::objTable" ref="f1a1883d9bb0aa091184611903ebf1be" args="(int objid, int id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">aCfgItem aCfg::objTable           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>objid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>id</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return context of the object table by object id and table id. This function used by Database tables plugins. <dl compact><dt><b>Аргументы:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>objid</em>&nbsp;</td><td>(in) - metadata object id. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>id</em>&nbsp;</td><td>(in) - metadata object table id. id = 0 for document header, catalogue element; id = 1 for catalogue group; id = metadata object id for document table. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Возвращает:</b></dt><dd>table context. </dd></dl>

<p>Перекрестные ссылки <a class="el" href="acfg_8cpp-source.html#l00520">find()</a> и <a class="el" href="acfg_8cpp-source.html#l01765">objTable()</a>.</p>

</div>
</div><p>
<hr>Объявления и описания членов классов находятся в файлах:<ul>
<li><a class="el" href="acfg_8h-source.html">acfg.h</a><li>acfg.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Документация по Ananas Library. Последние изменения: Sun Feb 1 21:47:15 2009. Создано системой&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
